FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

inherit deploy

SRC_URI += " \
	file://grub.cfg \
	"

do_install:append() {
        install -d ${D}${EFI_FILES_PATH}
        install grub.cfg ${D}${EFI_FILES_PATH}/grub.cfg
}

do_deploy() {
        install -d   ${DEPLOYDIR}${EFI_FILES_PATH}
        cp -rf  ${D}/*  ${DEPLOYDIR}/
}

addtask deploy before do_populate_sysroot after do_install
